﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CreateCodeByDatabase
{
    public partial class ShowCreateSql : Form
    {
        string addSql;
        string editSql;
        public ShowCreateSql(string _addSql,string _editSql)
        {
            InitializeComponent();
            addSql = _addSql;
            editSql = _editSql;
            ShowSql();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        private void ShowSql()
        {
            txtAdd.Text = addSql;
            txtEdit.Text = editSql;
        }
    }
}
